<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .flex1 {
            display: flex;
            padding: 20px 25px 30px 35px;
            margin: 10px 10px 50px 10px;
            border-style: solid;
            border-width: 1px;
        }

        .box {
            width: 5px;
            height: 20px;
            flex: 1;
            margin: 30px 40px 50px 10px;
            border-style: solid;
            border-width: 1px 1px 1px 1px;
            text-align: center;
            justify-content: center;

        }

        .flex2 {
            display: flex;
            padding: 20px 25px 30px 35px;
            border-style: solid;
            border-width: 1px;
        }

        .box1 {
            flex: 1;
            border-style: solid;
            border-width: 1px;
            text-align: center;
            text-align: justify;
            text-align-last: center;
        }
        .box.a{
            flex: 2;
        }
        .a{
            width: 100%;
            height: 100%;
        }
    </style>
</head>

<body>

    <div class="flex1">
        <div class="box">
            <div class1="a">马</div>
        </div>
        <div class="box">
            <div>马</div>
        </div>
        <div class="box">
            <div>马</div>
        </div>
    </div>
    <div class="flex2">
        <div class="box1">
            <div>马</div>
        </div>
        <div class="box">
            <div>马</div>
        </div>
        <div class="box1">
            <div>马</div>
        </div>
    </div>

</body>

</html>